package xcmg.device.dao.entity.buyBack;

import java.math.BigDecimal;

public class BuyBackDetailDO {
    private String billId;

    private String materialsNo;

    private String materialsDes;

    private String materialsType;

    private String unit;

    private BigDecimal price;

    private BigDecimal totalPrice;

    private BigDecimal qty;

    private BigDecimal sendQty;

    private BigDecimal realQty;

    private Integer status;

    /**
     * 回购单价
     */
    private BigDecimal backPrice;

    /**
     * 实际回购数量
     */
    private BigDecimal backQty;

    /**
     * 回购总价
     */
    private BigDecimal backTotal;

    /**
     * 备注
     */
    private String remark;
    /**创建出库单数量*/
    private BigDecimal createOutQty;
    private BigDecimal outQty;
    private Integer outStatus;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public BigDecimal getBackPrice() {
        return null == backPrice ? BigDecimal.ZERO : backPrice;
    }

    public void setBackPrice(BigDecimal backPrice) {
        this.backPrice = backPrice;
    }

    public BigDecimal getBackQty() {
        return null == backQty ? BigDecimal.ZERO : backQty;
    }

    public void setBackQty(BigDecimal backQty) {
        this.backQty = backQty;
    }

    public BigDecimal getBackTotal() {
        return null == backTotal ? BigDecimal.ZERO : backTotal;
    }

    public void setBackTotal(BigDecimal backTotal) {
        this.backTotal = backTotal;
    }

    public String getBillId() {
        return billId;
    }

    public void setBillId(String billId) {
        this.billId = billId == null ? null : billId.trim();
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getQty() {
        return qty;
    }

    public void setQty(BigDecimal qty) {
        this.qty = qty;
    }

    public BigDecimal getSendQty() {
        return sendQty;
    }

    public void setSendQty(BigDecimal sendQty) {
        this.sendQty = sendQty;
    }

    public BigDecimal getRealQty() {
        return realQty;
    }

    public void setRealQty(BigDecimal realQty) {
        this.realQty = realQty;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMaterialsNo() {
        return materialsNo;
    }

    public void setMaterialsNo(String materialsNo) {
        this.materialsNo = materialsNo;
    }

    public String getMaterialsDes() {
        return materialsDes;
    }

    public void setMaterialsDes(String materialsDes) {
        this.materialsDes = materialsDes;
    }

    public String getMaterialsType() {
        return materialsType;
    }

    public void setMaterialsType(String materialsType) {
        this.materialsType = materialsType;
    }

    public BigDecimal getCreateOutQty() {
        return createOutQty;
    }

    public void setCreateOutQty(BigDecimal createOutQty) {
        this.createOutQty = createOutQty;
    }

    public BigDecimal getOutQty() {
        return outQty;
    }

    public void setOutQty(BigDecimal outQty) {
        this.outQty = outQty;
    }

    public Integer getOutStatus() {
        return outStatus;
    }

    public void setOutStatus(Integer outStatus) {
        this.outStatus = outStatus;
    }
}